home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C15 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.4 KB  |  89 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C15
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Wind2 \
  22.     Wind3 \
  23.     Wind4 \
  24.     Sizes \
  25.     Early \
  26.     Wind5 \
  27.     Pvdef \
  28.     Addv \
  29.     Slice \
  30.     Pvdest 
  31.  
  32. test: all 
  33.     Wind2  
  34.     Wind3  
  35.     Wind4  
  36.     Sizes  
  37.     Early  
  38.     Wind5  
  39.     Pvdef  
  40.     Addv  
  41.     Slice  
  42.     Pvdest  
  43.  
  44. bugs: 
  45.     @echo No compiler bugs in this directory!
  46.  
  47. Wind2: Wind2.o 
  48.     $(CPP) $(OFLAG)Wind2 Wind2.o 
  49.  
  50. Wind3: Wind3.o 
  51.     $(CPP) $(OFLAG)Wind3 Wind3.o 
  52.  
  53. Wind4: Wind4.o 
  54.     $(CPP) $(OFLAG)Wind4 Wind4.o 
  55.  
  56. Sizes: Sizes.o 
  57.     $(CPP) $(OFLAG)Sizes Sizes.o 
  58.  
  59. Early: Early.o 
  60.     $(CPP) $(OFLAG)Early Early.o 
  61.  
  62. Wind5: Wind5.o 
  63.     $(CPP) $(OFLAG)Wind5 Wind5.o 
  64.  
  65. Pvdef: Pvdef.o 
  66.     $(CPP) $(OFLAG)Pvdef Pvdef.o 
  67.  
  68. Addv: Addv.o 
  69.     $(CPP) $(OFLAG)Addv Addv.o 
  70.  
  71. Slice: Slice.o 
  72.     $(CPP) $(OFLAG)Slice Slice.o 
  73.  
  74. Pvdest: Pvdest.o 
  75.     $(CPP) $(OFLAG)Pvdest Pvdest.o 
  76.  
  77.  
  78. Wind2.o: Wind2.cpp 
  79. Wind3.o: Wind3.cpp 
  80. Wind4.o: Wind4.cpp 
  81. Sizes.o: Sizes.cpp 
  82. Early.o: Early.cpp 
  83. Wind5.o: Wind5.cpp 
  84. Pvdef.o: Pvdef.cpp 
  85. Addv.o: Addv.cpp 
  86. Slice.o: Slice.cpp 
  87. Pvdest.o: Pvdest.cpp 
  88.  
  89.